﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200037F RID: 895
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DailyTaskDataScNotify : IMessage<DailyTaskDataScNotify>, IMessage, IEquatable<DailyTaskDataScNotify>, IDeepCloneable<DailyTaskDataScNotify>, IBufferMessage
	{
		// Token: 0x17000B8E RID: 2958
		// (get) Token: 0x06002827 RID: 10279 RVA: 0x0006FF01 File Offset: 0x0006E101
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DailyTaskDataScNotify> Parser
		{
			get
			{
				return DailyTaskDataScNotify._parser;
			}
		}

		// Token: 0x17000B8F RID: 2959
		// (get) Token: 0x06002828 RID: 10280 RVA: 0x0006FF08 File Offset: 0x0006E108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DailyTaskDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000B90 RID: 2960
		// (get) Token: 0x06002829 RID: 10281 RVA: 0x0006FF1A File Offset: 0x0006E11A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DailyTaskDataScNotify.Descriptor;
			}
		}

		// Token: 0x0600282A RID: 10282 RVA: 0x0006FF21 File Offset: 0x0006E121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyTaskDataScNotify()
		{
		}

		// Token: 0x0600282B RID: 10283 RVA: 0x0006FF34 File Offset: 0x0006E134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyTaskDataScNotify(DailyTaskDataScNotify other) : this()
		{
			this.finishedNum_ = other.finishedNum_;
			this.dailyTaskList_ = other.dailyTaskList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600282C RID: 10284 RVA: 0x0006FF6A File Offset: 0x0006E16A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyTaskDataScNotify Clone()
		{
			return new DailyTaskDataScNotify(this);
		}

		// Token: 0x17000B91 RID: 2961
		// (get) Token: 0x0600282D RID: 10285 RVA: 0x0006FF72 File Offset: 0x0006E172
		// (set) Token: 0x0600282E RID: 10286 RVA: 0x0006FF7A File Offset: 0x0006E17A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FinishedNum
		{
			get
			{
				return this.finishedNum_;
			}
			set
			{
				this.finishedNum_ = value;
			}
		}

		// Token: 0x17000B92 RID: 2962
		// (get) Token: 0x0600282F RID: 10287 RVA: 0x0006FF83 File Offset: 0x0006E183
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DailyTask> DailyTaskList
		{
			get
			{
				return this.dailyTaskList_;
			}
		}

		// Token: 0x06002830 RID: 10288 RVA: 0x0006FF8B File Offset: 0x0006E18B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DailyTaskDataScNotify);
		}

		// Token: 0x06002831 RID: 10289 RVA: 0x0006FF9C File Offset: 0x0006E19C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DailyTaskDataScNotify other)
		{
			return other != null && (other == this || (this.FinishedNum == other.FinishedNum && this.dailyTaskList_.Equals(other.dailyTaskList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002832 RID: 10290 RVA: 0x0006FFEC File Offset: 0x0006E1EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FinishedNum != 0U)
			{
				num ^= this.FinishedNum.GetHashCode();
			}
			num ^= this.dailyTaskList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002833 RID: 10291 RVA: 0x00070039 File Offset: 0x0006E239
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002834 RID: 10292 RVA: 0x00070041 File Offset: 0x0006E241
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002835 RID: 10293 RVA: 0x0007004C File Offset: 0x0006E24C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FinishedNum != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.FinishedNum);
			}
			this.dailyTaskList_.WriteTo(ref output, DailyTaskDataScNotify._repeated_dailyTaskList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002836 RID: 10294 RVA: 0x0007009C File Offset: 0x0006E29C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FinishedNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FinishedNum);
			}
			num += this.dailyTaskList_.CalculateSize(DailyTaskDataScNotify._repeated_dailyTaskList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002837 RID: 10295 RVA: 0x000700F0 File Offset: 0x0006E2F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DailyTaskDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FinishedNum != 0U)
			{
				this.FinishedNum = other.FinishedNum;
			}
			this.dailyTaskList_.Add(other.dailyTaskList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002838 RID: 10296 RVA: 0x0007013D File Offset: 0x0006E33D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002839 RID: 10297 RVA: 0x00070148 File Offset: 0x0006E348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.dailyTaskList_.AddEntriesFrom(ref input, DailyTaskDataScNotify._repeated_dailyTaskList_codec);
					}
				}
				else
				{
					this.FinishedNum = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001000 RID: 4096
		private static readonly MessageParser<DailyTaskDataScNotify> _parser = new MessageParser<DailyTaskDataScNotify>(() => new DailyTaskDataScNotify());

		// Token: 0x04001001 RID: 4097
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001002 RID: 4098
		public const int FinishedNumFieldNumber = 1;

		// Token: 0x04001003 RID: 4099
		private uint finishedNum_;

		// Token: 0x04001004 RID: 4100
		public const int DailyTaskListFieldNumber = 14;

		// Token: 0x04001005 RID: 4101
		private static readonly FieldCodec<DailyTask> _repeated_dailyTaskList_codec = FieldCodec.ForMessage<DailyTask>(114U, DailyTask.Parser);

		// Token: 0x04001006 RID: 4102
		private readonly RepeatedField<DailyTask> dailyTaskList_ = new RepeatedField<DailyTask>();
	}
}
